#ifndef QTABLEATTRIBUTE_H
#define QTABLEATTRIBUTE_H
#include "QDynamicForm_global.h"
#include <QString>
#include <QVector>
struct QDYNAMICFORM_EXPORT QFieldAttribute
{
	enum FieldType{
        TEXT,
        BUMBER,
        COMBOBOX
	};

   QString fieldName;
   QString createSql;
   QString value; 		// 默认值
   QString label;
   FieldType fieldType;
   int max;
   int min;
   bool isbixu;
   bool isSreach;
};

struct QDYNAMICFORM_EXPORT QTableAttribute
{
   QString tableName;
   QVector<QFieldAttribute> fieldAttributes;
};



#endif // QTABLEATTRIBUTE_H
